## Process this file with automake to produce Makefile.in

INCLUDES = -DVERSION=\""@VERSION@"\" \
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
	@PACKAGE_CFLAGS@

bin_PROGRAMS = gdcalc dcalc

dcalc_SOURCES = \
	dcalc.c \
	dcalc.h \
	curse.c

gdcalc_SOURCES = \
	main.c main.h \
	dcalc.c dcalc.h \
	algebra.y \
	support.c support.h \
	interface.c interface.h \
	callbacks.c callbacks.h

gdcalc_CFLAGS = -DHAS_ALGEBRAIC_MODE
gdcalc_LDADD =  @PACKAGE_LIBS@ -lm

dcalc_CFLAGS = -UHAS_ALGEBRAIC_MODE
dcalc_LDADD = -lncurses -lm

